package com.bitoon.basketdudes.jpa;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * @author Paco FELC
 */
@Entity
@Table(name = "aspecto_equipo")
@NamedQueries({
    @NamedQuery(name = "AspectoEquipo.findAll", query = "SELECT a FROM AspectoEquipo a"),
    @NamedQuery(name = "AspectoEquipo.findByEquipoId", query = "SELECT a FROM AspectoEquipo a WHERE a.equipoId = :equipoId"),
    @NamedQuery(name = "AspectoEquipo.findByCamiseta", query = "SELECT a FROM AspectoEquipo a WHERE a.camiseta = :camiseta"),
    @NamedQuery(name = "AspectoEquipo.findByPantalon", query = "SELECT a FROM AspectoEquipo a WHERE a.pantalon = :pantalon"),
    @NamedQuery(name = "AspectoEquipo.findByClr1", query = "SELECT a FROM AspectoEquipo a WHERE a.clr1 = :clr1"),
    @NamedQuery(name = "AspectoEquipo.findByClr2", query = "SELECT a FROM AspectoEquipo a WHERE a.clr2 = :clr2"),
    @NamedQuery(name = "AspectoEquipo.findByClr3", query = "SELECT a FROM AspectoEquipo a WHERE a.clr3 = :clr3"),
    @NamedQuery(name = "AspectoEquipo.findByClr21", query = "SELECT a FROM AspectoEquipo a WHERE a.clr21 = :clr21"),
    @NamedQuery(name = "AspectoEquipo.findByClr22", query = "SELECT a FROM AspectoEquipo a WHERE a.clr22 = :clr22"),
    @NamedQuery(name = "AspectoEquipo.findByClr23", query = "SELECT a FROM AspectoEquipo a WHERE a.clr23 = :clr23"),
    @NamedQuery(name = "AspectoEquipo.findByFont", query = "SELECT a FROM AspectoEquipo a WHERE a.font = :font"),
    @NamedQuery(name = "AspectoEquipo.findByFontClr", query = "SELECT a FROM AspectoEquipo a WHERE a.fontClr = :fontClr"),
    @NamedQuery(name = "AspectoEquipo.findByFontEdge", query = "SELECT a FROM AspectoEquipo a WHERE a.fontEdge = :fontEdge"),
    @NamedQuery(name = "AspectoEquipo.findByFront", query = "SELECT a FROM AspectoEquipo a WHERE a.front = :front"),
    @NamedQuery(name = "AspectoEquipo.findByBack", query = "SELECT a FROM AspectoEquipo a WHERE a.back = :back"),
    @NamedQuery(name = "AspectoEquipo.findByLogoimgId", query = "SELECT a FROM AspectoEquipo a WHERE a.logoimgId = :logoimgId"),
    @NamedQuery(name = "AspectoEquipo.findByLogoimgClr1", query = "SELECT a FROM AspectoEquipo a WHERE a.logoimgClr1 = :logoimgClr1"),
    @NamedQuery(name = "AspectoEquipo.findByLogoimgClr2", query = "SELECT a FROM AspectoEquipo a WHERE a.logoimgClr2 = :logoimgClr2"),
    @NamedQuery(name = "AspectoEquipo.findByLogoimgClr3", query = "SELECT a FROM AspectoEquipo a WHERE a.logoimgClr3 = :logoimgClr3"),
    @NamedQuery(name = "AspectoEquipo.findByLogoimgX", query = "SELECT a FROM AspectoEquipo a WHERE a.logoimgX = :logoimgX"),
    @NamedQuery(name = "AspectoEquipo.findByLogoimgY", query = "SELECT a FROM AspectoEquipo a WHERE a.logoimgY = :logoimgY"),
    @NamedQuery(name = "AspectoEquipo.findByLogoimgAng", query = "SELECT a FROM AspectoEquipo a WHERE a.logoimgAng = :logoimgAng"),
    @NamedQuery(name = "AspectoEquipo.findByLogoimgEsc", query = "SELECT a FROM AspectoEquipo a WHERE a.logoimgEsc = :logoimgEsc"),
    @NamedQuery(name = "AspectoEquipo.findByLogotxtId", query = "SELECT a FROM AspectoEquipo a WHERE a.logotxtId = :logotxtId"),
    @NamedQuery(name = "AspectoEquipo.findByLogotxtClr1", query = "SELECT a FROM AspectoEquipo a WHERE a.logotxtClr1 = :logotxtClr1"),
    @NamedQuery(name = "AspectoEquipo.findByLogotxtClr2", query = "SELECT a FROM AspectoEquipo a WHERE a.logotxtClr2 = :logotxtClr2"),
    @NamedQuery(name = "AspectoEquipo.findByLogotxtClr3", query = "SELECT a FROM AspectoEquipo a WHERE a.logotxtClr3 = :logotxtClr3"),
    @NamedQuery(name = "AspectoEquipo.findByLogotxtX", query = "SELECT a FROM AspectoEquipo a WHERE a.logotxtX = :logotxtX"),
    @NamedQuery(name = "AspectoEquipo.findByLogotxtY", query = "SELECT a FROM AspectoEquipo a WHERE a.logotxtY = :logotxtY"),
    @NamedQuery(name = "AspectoEquipo.findByLogotxtAng", query = "SELECT a FROM AspectoEquipo a WHERE a.logotxtAng = :logotxtAng"),
    @NamedQuery(name = "AspectoEquipo.findByLogotxtEsc", query = "SELECT a FROM AspectoEquipo a WHERE a.logotxtEsc = :logotxtEsc")})
public class AspectoEquipo implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "equipo_id")
    private Integer equipoId;
    @Basic(optional = false)
    @Column(name = "camiseta")
    private short camiseta;
    @Basic(optional = false)
    @Column(name = "pantalon")
    private short pantalon;
    @Basic(optional = false)
    @Column(name = "clr1")
    private String clr1;
    @Basic(optional = false)
    @Column(name = "clr2")
    private String clr2;
    @Basic(optional = false)
    @Column(name = "clr3")
    private String clr3;
    @Basic(optional = false)
    @Column(name = "clr21")
    private String clr21;
    @Basic(optional = false)
    @Column(name = "clr22")
    private String clr22;
    @Basic(optional = false)
    @Column(name = "clr23")
    private String clr23;
    @Basic(optional = false)
    @Column(name = "font")
    private short font;
    @Basic(optional = false)
    @Column(name = "font_clr")
    private String fontClr;
    @Basic(optional = false)
    @Column(name = "font_edge")
    private String fontEdge;
    @Basic(optional = false)
    @Column(name = "front")
    private short front;
    @Basic(optional = false)
    @Column(name = "back")
    private short back;
    @Basic(optional = false)
    @Column(name = "logoimg_id")
    private short logoimgId;
    @Basic(optional = false)
    @Column(name = "logoimg_clr1")
    private String logoimgClr1;
    @Basic(optional = false)
    @Column(name = "logoimg_clr2")
    private String logoimgClr2;
    @Basic(optional = false)
    @Column(name = "logoimg_clr3")
    private String logoimgClr3;
    @Basic(optional = false)
    @Column(name = "logoimg_x")
    private float logoimgX;
    @Basic(optional = false)
    @Column(name = "logoimg_y")
    private float logoimgY;
    @Basic(optional = false)
    @Column(name = "logoimg_ang")
    private float logoimgAng;
    @Basic(optional = false)
    @Column(name = "logoimg_esc")
    private float logoimgEsc;
    @Basic(optional = false)
    @Column(name = "logotxt_id")
    private short logotxtId;
    @Basic(optional = false)
    @Column(name = "logotxt_clr1")
    private String logotxtClr1;
    @Basic(optional = false)
    @Column(name = "logotxt_clr2")
    private String logotxtClr2;
    @Basic(optional = false)
    @Column(name = "logotxt_clr3")
    private String logotxtClr3;
    @Basic(optional = false)
    @Column(name = "logotxt_x")
    private float logotxtX;
    @Basic(optional = false)
    @Column(name = "logotxt_y")
    private float logotxtY;
    @Basic(optional = false)
    @Column(name = "logotxt_ang")
    private float logotxtAng;
    @Basic(optional = false)
    @Column(name = "logotxt_esc")
    private float logotxtEsc;
    @Basic(optional = true)
    @Column(name = "ball_id")
    private int ballId;

    public AspectoEquipo() {
    }

    public AspectoEquipo(Integer equipoId) {
        this.equipoId = equipoId;
    }

    public AspectoEquipo(Integer equipoId, short camiseta, short pantalon, String clr1, String clr2, String clr3, String clr21, String clr22, String clr23, short font, String fontClr, String fontEdge, short front, short back, short logoimgId, String logoimgClr1, String logoimgClr2, String logoimgClr3, float logoimgX, float logoimgY, float logoimgAng, float logoimgEsc, short logotxtId, String logotxtClr1, String logotxtClr2, String logotxtClr3, float logotxtX, float logotxtY, float logotxtAng, float logotxtEsc) {
        this.equipoId = equipoId;
        this.camiseta = camiseta;
        this.pantalon = pantalon;
        this.clr1 = clr1;
        this.clr2 = clr2;
        this.clr3 = clr3;
        this.clr21 = clr21;
        this.clr22 = clr22;
        this.clr23 = clr23;
        this.font = font;
        this.fontClr = fontClr;
        this.fontEdge = fontEdge;
        this.front = front;
        this.back = back;
        this.logoimgId = logoimgId;
        this.logoimgClr1 = logoimgClr1;
        this.logoimgClr2 = logoimgClr2;
        this.logoimgClr3 = logoimgClr3;
        this.logoimgX = logoimgX;
        this.logoimgY = logoimgY;
        this.logoimgAng = logoimgAng;
        this.logoimgEsc = logoimgEsc;
        this.logotxtId = logotxtId;
        this.logotxtClr1 = logotxtClr1;
        this.logotxtClr2 = logotxtClr2;
        this.logotxtClr3 = logotxtClr3;
        this.logotxtX = logotxtX;
        this.logotxtY = logotxtY;
        this.logotxtAng = logotxtAng;
        this.logotxtEsc = logotxtEsc;
    }

    public Integer getEquipoId() {
        return equipoId;
    }

    public void setEquipoId(Integer equipoId) {
        this.equipoId = equipoId;
    }

    public short getCamiseta() {
        return camiseta;
    }

    public void setCamiseta(short camiseta) {
        this.camiseta = camiseta;
    }

    public short getPantalon() {
        return pantalon;
    }

    public void setPantalon(short pantalon) {
        this.pantalon = pantalon;
    }

    public String getClr1() {
        return clr1;
    }

    public void setClr1(String clr1) {
        this.clr1 = clr1;
    }

    public String getClr2() {
        return clr2;
    }

    public void setClr2(String clr2) {
        this.clr2 = clr2;
    }

    public String getClr3() {
        return clr3;
    }

    public void setClr3(String clr3) {
        this.clr3 = clr3;
    }

    public String getClr21() {
        return clr21;
    }

    public void setClr21(String clr21) {
        this.clr21 = clr21;
    }

    public String getClr22() {
        return clr22;
    }

    public void setClr22(String clr22) {
        this.clr22 = clr22;
    }

    public String getClr23() {
        return clr23;
    }

    public void setClr23(String clr23) {
        this.clr23 = clr23;
    }

    public short getFont() {
        return font;
    }

    public void setFont(short font) {
        this.font = font;
    }

    public String getFontClr() {
        return fontClr;
    }

    public void setFontClr(String fontClr) {
        this.fontClr = fontClr;
    }

    public String getFontEdge() {
        return fontEdge;
    }

    public void setFontEdge(String fontEdge) {
        this.fontEdge = fontEdge;
    }

    public short getFront() {
        return front;
    }

    public void setFront(short front) {
        this.front = front;
    }

    public short getBack() {
        return back;
    }

    public void setBack(short back) {
        this.back = back;
    }

    public short getLogoimgId() {
        return logoimgId;
    }

    public void setLogoimgId(short logoimgId) {
        this.logoimgId = logoimgId;
    }

    public String getLogoimgClr1() {
        return logoimgClr1;
    }

    public void setLogoimgClr1(String logoimgClr1) {
        this.logoimgClr1 = logoimgClr1;
    }

    public String getLogoimgClr2() {
        return logoimgClr2;
    }

    public void setLogoimgClr2(String logoimgClr2) {
        this.logoimgClr2 = logoimgClr2;
    }

    public String getLogoimgClr3() {
        return logoimgClr3;
    }

    public void setLogoimgClr3(String logoimgClr3) {
        this.logoimgClr3 = logoimgClr3;
    }

    public float getLogoimgX() {
        return logoimgX;
    }

    public void setLogoimgX(float logoimgX) {
        this.logoimgX = logoimgX;
    }

    public float getLogoimgY() {
        return logoimgY;
    }

    public void setLogoimgY(float logoimgY) {
        this.logoimgY = logoimgY;
    }

    public float getLogoimgAng() {
        return logoimgAng;
    }

    public void setLogoimgAng(float logoimgAng) {
        this.logoimgAng = logoimgAng;
    }

    public float getLogoimgEsc() {
        return logoimgEsc;
    }

    public void setLogoimgEsc(float logoimgEsc) {
        this.logoimgEsc = logoimgEsc;
    }

    public short getLogotxtId() {
        return logotxtId;
    }

    public void setLogotxtId(short logotxtId) {
        this.logotxtId = logotxtId;
    }

    public String getLogotxtClr1() {
        return logotxtClr1;
    }

    public void setLogotxtClr1(String logotxtClr1) {
        this.logotxtClr1 = logotxtClr1;
    }

    public String getLogotxtClr2() {
        return logotxtClr2;
    }

    public void setLogotxtClr2(String logotxtClr2) {
        this.logotxtClr2 = logotxtClr2;
    }

    public String getLogotxtClr3() {
        return logotxtClr3;
    }

    public void setLogotxtClr3(String logotxtClr3) {
        this.logotxtClr3 = logotxtClr3;
    }

    public float getLogotxtX() {
        return logotxtX;
    }

    public void setLogotxtX(float logotxtX) {
        this.logotxtX = logotxtX;
    }

    public float getLogotxtY() {
        return logotxtY;
    }

    public void setLogotxtY(float logotxtY) {
        this.logotxtY = logotxtY;
    }

    public float getLogotxtAng() {
        return logotxtAng;
    }

    public void setLogotxtAng(float logotxtAng) {
        this.logotxtAng = logotxtAng;
    }

    public float getLogotxtEsc() {
        return logotxtEsc;
    }

    public void setLogotxtEsc(float logotxtEsc) {
        this.logotxtEsc = logotxtEsc;
    }

    public int getBallId() {
        return ballId;
    }

    public void setBallId(int valor) {
        this.ballId = valor;
    }


    @Override
    public int hashCode() {
        int hash = 0;
        hash += (equipoId != null ? equipoId.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof AspectoEquipo)) {
            return false;
        }
        AspectoEquipo other = (AspectoEquipo) object;
        if ((this.equipoId == null && other.equipoId != null) || (this.equipoId != null && !this.equipoId.equals(other.equipoId))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.bitoon.basketdudes.jpa.AspectoEquipo[equipoId=" + equipoId + "]";
    }

}
